<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<script type="text/javascript">
    $("#itemTable").treeTable({expandLevel: 2});
</script>
<div class="panel-body">

                <div class="pull-left">
                    <input id="btnSubmit"
                           onclick="addSubProject('rigthCenterDiv','${applyId}','${ctx}/treatrecorditem/treatrecorditem/treatRecordItem/form?type=3&applyId=${applyId}')"
                           class="btn btn-primary" type="submit" value="添加"/>
                </div>
            </div>
            <table id="itemTable" class="table table-bordered mg-t datatable">
                <thead>
                <tr>
                    <th style="display: none">主键</th>
                    <th  style="display: none">主表id</th>
                    <th>主诉</th>
                    <th>现病史</th>
                    <th>既往史</th>
                    <th>个人史</th>
                    <th>婚育史</th>
                    <th>家族史</th>
                    <th>月经史</th>
                    <%--<th>发表后一般情况</th>--%>
                    <%--<th>体温</th>--%>
                    <%--<th>脉搏</th>--%>
                    <%--<th>呼吸</th>--%>
                    <%--<th>血压</th>--%>
                    <%--<th>病史陈述者</th>--%>
                    <%--<th>体格检查</th>--%>
                    <%--<th>辅助检查</th>--%>
                    <%--<th>小结分析</th>--%>
                    <%--<th>病史采集日期</th>--%>
                    <%--<th>机构ID</th>--%>
                    <%--<th>标志</th>--%>
                    <%--<th>创建人</th>--%>
                    <%--<th>创建时间</th>--%>
                    <%--<th>更新人</th>--%>
                    <%--<th>更新时间</th>--%>
                    <%--<th>备注信息</th>--%>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${list}" var="treatRecordItem">
                <tr>
                    <td style="display: none"> ${treatRecordItem.id}</td>
                    <td  style="display: none"> ${treatRecordItem.applyId}</td>
                    <td> ${treatRecordItem.zhusu}</td>
                    <td> ${treatRecordItem.xianbingshi}</td>
                    <td> ${treatRecordItem.jiwangshi}</td>
                    <td> ${treatRecordItem.gerenshi}</td>
                    <td> ${treatRecordItem.hunyushi}</td>
                    <td> ${treatRecordItem.jiazushi}</td>
                    <td> ${treatRecordItem.yuejingshi}</td>
                    <%--<td> ${treatRecordItem.fabinghouqingkuang}</td>--%>
                    <%--<td> ${treatRecordItem.tiwen}</td>--%>
                    <%--<td> ${treatRecordItem.maibo}</td>--%>
                    <%--<td> ${treatRecordItem.huxi}</td>--%>
                    <%--<td> ${treatRecordItem.xueya}</td>--%>
                    <%--<td> ${treatRecordItem.bingshichenshuzhe}</td>--%>
                    <%--<td> ${treatRecordItem.tigejiancha}</td>--%>
                    <%--<td> ${treatRecordItem.fuzhujiancha}</td>--%>
                    <%--<td> ${treatRecordItem.xiaojiefenxi}</td>--%>
                    <%--<td> ${treatRecordItem.bingshicaijiriqi}</td>--%>
                    <%--<td> ${treatRecordItem.orgId}</td>--%>
                    <%--<td> ${treatRecordItem.delFlag}</td>--%>
                    <%--<td> ${treatRecordItem.createBy.id}</td>--%>
                    <%--<td> ${treatRecordItem.createDate}</td>--%>
                    <%--<td> ${treatRecordItem.updateBy.id}</td>--%>
                    <%--<td> ${treatRecordItem.updateDate}</td>--%>
                    <%--<td> ${treatRecordItem.remarks}</td>--%>
                    <td>
                        <a href="#" onclick="addSubProject('rigthCenterDiv','${applyId}','${ctx}/treatrecorditem/treatrecorditem/treatRecordItem/form?type=3&applyId=${applyId}&id=${treatRecordItem.id}')" class="btn btn-success btn-xs">修改</a>
                        <a href="#"  class="applyBt btn btn-danger btn-xs" onclick="confirmExtend('确认要删除该病历吗？',function(){delLoad('treatProjectItem','${ctx}/treatrecorditem/treatrecorditem/treatRecordItem/delete?id=${treatRecordItem.id}', '${ctx}/treatProjectItem/treatProjectItem/indexTreat?type=3&id=${treatRecordItem.applyId}')})">删除</a>
                    </td>
                </tr>
                </c:forEach>




            </table>
